package com.entity;

import java.io.Serializable;
import java.sql.Date;

public class Employee implements Serializable {

    private static final long serialVersionUID = -6162741916793321444L;


    //图书编号
    private int id;
    //图书名称
    private String name;
    //图书作者
    private String author;
    //购买时间
    private Date time;
    //图书分类
    //计算机/软件:1
    //小说/文摘:2
    //杂项:3
    private String type;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    @Override
    public String toString() {
        return "BookManage{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", author='" + author + '\'' +
                ", time=" + time +
                ", type=" + type +
                '}';
    }
}
